package com.darren.euc.service;

import java.math.BigInteger;

import com.darren.euc.entity.MessageVisit;
import com.darren.euc.entity.PageBean;

import net.sf.json.JSONObject;

public interface MessageVisitService {
    
	public MessageVisit save(MessageVisit messageVisit);
    
	public MessageVisit update(MessageVisit messageVisit);
	
	public MessageVisit findById(Integer id);
	
	public BigInteger getUnreadCount(Integer userId);
	
	@SuppressWarnings("rawtypes")
	public PageBean queryForPageUseHQL(JSONObject requestJson,Integer pageSize, Integer currentPage);	
    
}